package br.com.canvasForAll.model.services.interfaces;

import java.util.Collection;
import java.util.List;

import javax.ejb.Local;

import br.com.canvasForAll.model.entity.Canvas;
import br.com.canvasForAll.model.entity.Perfil;

@Local
public interface CanvasService {
	
	public Canvas obterPorId(Long id) throws Exception;
	
	public Canvas obterPorIds(Long id, Long idMobile) throws Exception;
	
	public Canvas adicionarParticipantes(Canvas c, List<Perfil> perfil) throws Exception;
	
	public Canvas salvarCanvas(Canvas c) throws Exception;
	
	public Collection<Canvas> obterCanvasResponsavel (Long idPerfil) throws Exception;
	
	public Collection<Canvas> obterCanvasParticipante (Long idPerfil) throws Exception;
	
}
